using System;
using System.Collections.Generic;
using System.Text;

namespace SharksHunter.Engine.CSV
{
    public static class Tools
    {
        public static string ExtractEntityFromCSVName(string csvname)
        {
            int i = csvname.IndexOf("(");
            if (i >= 0)
                return csvname.Substring(0, i);
            return csvname.Substring(0, csvname.Length - 4);
        }

    }
}
